package com.json.entity;

import java.util.List;
import java.util.Vector;

import org.w3c.dom.NodeList;

import android.provider.ContactsContract.CommonDataKinds.Im;

import com.dld.android.util.ReflectionFactory;

public class Image {
	private String image;

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public static List<Image> fromElemList(NodeList ele) throws Exception {
		List<Image> list = new Vector<Image>();
		for (int i = 0; i < ele.getLength(); i++) {
			Image iele = new Image();
			iele.setImage(ele.item(i).getFirstChild().getNodeValue());
			list.add(iele);
		}
		return list;
	}

}
